//
//  DesHelper.h
//  TouchDoc
//
//  Created by edward on 2019/7/15.
//  Copyright © 2019 Wisefly. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface DesHelper : NSObject


- (instancetype)init NS_UNAVAILABLE;

/// 解密
/// @param message 密文
/// @param key 秘钥
+ (NSString *)decryptUseDES:(NSString *)message :(NSString *)key;

///加密
/// @param message 明文
/// @param key 秘钥
+ (NSString *)encryptUseDES:(NSString *)message :(NSString *)key;

/**网络请求中需要转码的方法*/
+ (NSString *)setPar:(NSString *)para;
@end

NS_ASSUME_NONNULL_END
